package cn.kickegg.design.single;

        import java.lang.reflect.Constructor;
        import java.lang.reflect.InvocationTargetException;

/**
 * @author KickEGG
 * @createTime 2018-08-02 21:57
 * @Description
 */
public class Test {

  public static void main(String[] args) throws NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
    Class<LazySingleInstance> classType = LazySingleInstance.class;
    Constructor<LazySingleInstance> c = (Constructor<LazySingleInstance>) classType.getDeclaredConstructor();
    c.setAccessible(true);
    c.newInstance();
  }
}
